package edu.xhu.api.video;

import edu.xhu.api.video.fallback.VideoClientFallback;
import edu.xhu.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "homepage-service", fallback = VideoClientFallback.class)
public interface VideoClient {
    //获取所有视频
    @GetMapping("/bilivideo/videosListApi")
    ResponseResult<?> videosListApi();

}
